package cn.edu.tju.elm.repository;

import cn.edu.tju.elm.model.Business;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface BusinessRepository extends JpaRepository<Business, Long> {
    // 统计店铺总数
    long countByDeletedFalse();
}